var resData = {

    getInfo: {
        "isSuccess": true,
        "code": 0,
        "data": {
            "userInfo": {
                "nickName": "test", //微信昵称
                "avatar": "fddtest" //微信头像
            },
        }
    },


};

Mock.setup({
    timeout: '10-50'
});

Mock.mock('/getUserInfo', resData.getInfo);